﻿/***********************************************************************
 * CLR 版本: 4.0.30319.225
 * 工程名称: $projectname$
 * 命名空间: Toulr.Domains.Business
 * 文件名称: ShopEvaluationDetail
 * 描    述: 店铺评价信息详表
 * 作    者: 18901309129@189.cn
 * 登录用户: hyyu
 * 创建时间: 2011-5-28 11:06:20
 * 创建年份: 2011
 * Update History: 
 ***********************************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Toulr.Domains.Business
{
    /// <summary>
    /// ShopEvaluationDetail 的摘要说明。
    /// </summary>
    public class ShopEvaluationDetail : IEntity
    {
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 评价人ID
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        ///   被评价店铺
        /// </summary>
        public int ShopId { get; set; }

        /// <summary>
        ///   店铺评分项名称1
        /// </summary>
        public string ItemName1 { get; set; }
        public string ItemName2 { get; set; }
        public string ItemName3 { get; set; }
        public string ItemName4 { get; set; }
        public string ItemName5 { get; set; }
        public string ItemName6 { get; set; }
        public string ItemName7 { get; set; }
        public string ItemName8 { get; set; }
        public string ItemName9 { get; set; }
        public string ItemName10 { get; set; }

        /// <summary>
        ///   店铺评分项名称1
        /// </summary>
        public float ItemValue1 { get; set; }
        public float ItemValue2 { get; set; }
        public float ItemValue3 { get; set; }
        public float ItemValue4 { get; set; }
        public float ItemValue5 { get; set; }
        public float ItemValue6 { get; set; }
        public float ItemValue7 { get; set; }
        public float ItemValue8 { get; set; }
        public float ItemValue9 { get; set; }
        public float ItemValue10 { get; set; }

        /// <summary>
        /// 评价内容
        /// </summary>
        [MaxLength(512)]
        public string EvaluationContext { get; set; }

        /// <summary>
        /// 回复次数
        /// </summary>
        public int ReplyCount { get; set; }

        /// <summary>
        /// 支持次数
        /// </summary>
        public int AbetCount { get; set; }

        /// <summary>
        /// 评价时间
        /// </summary>
        public DateTime EvaluationTime { get; set; }
    }
}
